package org.myspringframework.test.postprocessor;

import org.myspringframework.beans.BeansException;
import org.myspringframework.beans.factory.ConfigurableListableBeanFactory;
import org.myspringframework.beans.factory.config.postprocessor.BeanFactoryPostProcessor;
import org.myspringframework.context.annotation.Component;

@Component
public class MyBeanFactoryPostProcessor implements BeanFactoryPostProcessor {
    @Override
    public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
        System.out.println("myBeanFactoryPostProcessor:"+beanFactory+"创建完成");
    }
}
